package cn.face.sdk;

public class FaceNisLivService
{
  static FaceNisLivService nirLivService = null;

  public FaceNisLivService() {
    FaceCommon.loadLibrarys();
  }

  public static FaceNisLivService getInstance()
  {
    if (nirLivService == null) {
      nirLivService = new FaceNisLivService();
    }
    return nirLivService;
  }

  public static native int cwInitNirLivService(String paramString1, String paramString2, float paramFloat, int paramInt1, int paramInt2, int paramInt3);

  public static native int cwCloseNirLivService();

  public static native int cwNirLivDetService(byte[] paramArrayOfByte1, int paramInt1, int paramInt2, int paramInt3, byte[] paramArrayOfByte2, int paramInt4, int paramInt5, int paramInt6, FaceNisLiveResInfo paramFaceNisLiveResInfo);
}